<?php



class views_handler_quail_server_total_pages extends views_handler_field {
	
		function render($values) {
			return db_result(db_query('SELECT count(distinct w.nid) '.
										'FROM {quail_server_webpage} w '.
										'WHERE w.website_nid = %d', $values->nid));
		}
		
		function query() {
		
		}
}